//
//  SetTableViewCell.m
//  ShouYi
//
//  Created by yurui on 16/2/23.
//  Copyright © 2016年 yurui. All rights reserved.
//

#import "SetTableViewCell.h"
@implementation SetTableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.backView = [[UIView alloc]initWithFrame:CGRectMake(0, 0,kWidth , 40)];
        [self.contentView addSubview:_backView];
        // 标题
        self.titleLbael = [[UILabel alloc]initWithFrame:CGRectMake(15, 10,100, 20)];
        self.titleLbael.font = [UIFont systemFontOfSize:14];
        [self.backView addSubview:_titleLbael];
        // 输入框
        self.textF = [[UITextField alloc]initWithFrame:CGRectMake(kWidth - 115, 10, 100, 20)];
        self.textF.textAlignment = NSTextAlignmentRight;
        self.textF.font = [UIFont systemFontOfSize:12];
        //self.textF.backgroundColor = [UIColor yellowColor];
        [self.backView addSubview:_textF];
        
        
    }
    return self;
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
